﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" xmlns:local="clr-namespace:SchedulerControl" x:Class="SchedulerControl.ScheduleItemControl"
    mc:Ignorable="d"
	d:DesignWidth="640" d:DesignHeight="480" MouseMove="UserControl_MouseEnter" MouseLeave="UserControl_MouseLeave"
    >
    
    <Grid x:Name="LayoutRoot" Background="White" >
    	<Grid.ColumnDefinitions>    		
    		<ColumnDefinition Width="*"/>
    	</Grid.ColumnDefinitions>
        
	
		<Rectangle x:Name="rectangle" StrokeThickness="2" Grid.ColumnSpan="2" >
			<Rectangle.Stroke>
				<LinearGradientBrush EndPoint="0.189,0.779" StartPoint="0.811,0.221">
					<GradientStop Color="#FF212121" Offset="0"/>
					<GradientStop Color="#FF252525" Offset="1"/>
					<GradientStop Color="#FF101010" Offset="0.499"/>
				</LinearGradientBrush>
			</Rectangle.Stroke>
			<Rectangle.Fill>
				<LinearGradientBrush EndPoint="0.212,0.819" MappingMode="RelativeToBoundingBox" StartPoint="0.788,0.181">
					<GradientStop Color="LightGray" Offset="0"/>
                    <GradientStop Color="LightGray" Offset="1"/>
					<GradientStop Color="#FFAFAFAF" Offset="0.233"/>
                    <GradientStop Color="LightGray" Offset="0.513"/>
					<GradientStop Color="#FFB6B6B6" Offset="0.785"/>
				</LinearGradientBrush>
			</Rectangle.Fill>
		</Rectangle>

        <TextBlock TextWrapping="Wrap" x:Name="tbScheduleDescription" Margin="8,5,5,5" Foreground="#FF000000" FontFamily="/SchedulerControl;component/Fonts/Fonts.zip#B Mitra" FontSize="16"  Grid.ColumnSpan="2" d:LayoutOverrides="GridBox"  >
			<TextBlock.RenderTransform>
				<CompositeTransform/>
			</TextBlock.RenderTransform>
		</TextBlock>
        <TextBox  TextWrapping="Wrap" x:Name="tbScheduleDescriptionEdit" Margin="8,5,5,5" Foreground="#FF000000" FontFamily="/SchedulerControl;component/Fonts/Fonts.zip#B Mitra" FontSize="16" Background="Transparent" Grid.ColumnSpan="2" Visibility="Collapsed"  />
		
        
	
	</Grid>
</UserControl>
